/*
 * Copyright (c) 2018 maoyan.com
 * All rights reserved.
 *
 */
package com.darren.euc.entity;

import com.alibaba.fastjson.JSONArray;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 在这里编写类的功能描述
 *
 * @author fangwenhao
 * @created 2018/3/13
 */
public class MeetingroomVO implements Serializable {

    private Integer id;

    private String meetingroomName;

    private String meetingroomStatus;

    private String meetingroomArea;

    private String seatCount;

    private String displayPicture;

    private Double meetingroomPrice = 0D;

    private String bookStartTime;

    private String bookEndTime;

    private String otherFacilities;

    private Province province;

    private City city;

    private Space space;

    private Date createTime;

    private User createUser;

    private Date lastModifyTime;

    private User lastModifyUser;

    private String priceUnit;

    private boolean enable;

    private List<BookTimeRange> rangeList;

    public MeetingroomVO(){}

    public  MeetingroomVO(Meetingroom meetingroom) {
        this.setId(meetingroom.getId());
        this.setMeetingroomName(meetingroom.getMeetingroomName());
        this.setMeetingroomStatus(meetingroom.getMeetingroomStatus());
        this.setMeetingroomArea(meetingroom.getMeetingroomArea());
        this.setSeatCount(meetingroom.getSeatCount());
        this.setDisplayPicture(meetingroom.getDisplayPicture());
        this.setMeetingroomPrice(meetingroom.getMeetingroomPrice());
        this.setBookStartTime(meetingroom.getBookStartTime());
        this.setBookEndTime(meetingroom.getBookEndTime());
        this.setOtherFacilities(meetingroom.getOtherFacilities());
        this.setProvince(meetingroom.getProvince());
        this.setCity(meetingroom.getCity());
        this.setSpace(meetingroom.getSpace());
        this.setCreateTime(meetingroom.getCreateTime());
        this.setCreateUser(meetingroom.getCreateUser());
        this.setLastModifyTime(meetingroom.getLastModifyTime());
        this.setLastModifyUser(meetingroom.getLastModifyUser());
        this.setPriceUnit(meetingroom.getUnit());
        this.setEnable(meetingroom.isEnable());
    }

    public List<BookTimeRange> getRangeList() {
        return rangeList;
    }

    public void setRangeList(List<BookTimeRange> rangeList) {
        this.rangeList = rangeList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMeetingroomName() {
        return meetingroomName;
    }

    public void setMeetingroomName(String meetingroomName) {
        this.meetingroomName = meetingroomName;
    }

    public String getMeetingroomStatus() {
        return meetingroomStatus;
    }

    public void setMeetingroomStatus(String meetingroomStatus) {
        this.meetingroomStatus = meetingroomStatus;
    }

    public String getMeetingroomArea() {
        return meetingroomArea;
    }

    public void setMeetingroomArea(String meetingroomArea) {
        this.meetingroomArea = meetingroomArea;
    }

    public String getSeatCount() {
        return seatCount;
    }

    public void setSeatCount(String seatCount) {
        this.seatCount = seatCount;
    }

    public String getDisplayPicture() {
        return displayPicture;
    }

    public void setDisplayPicture(String displayPicture) {
        this.displayPicture = displayPicture;
    }

    public Double getMeetingroomPrice() {
        return meetingroomPrice;
    }

    public void setMeetingroomPrice(Double meetingroomPrice) {
        this.meetingroomPrice = meetingroomPrice;
    }

    public String getBookStartTime() {
        return bookStartTime;
    }

    public void setBookStartTime(String bookStartTime) {
        this.bookStartTime = bookStartTime;
    }

    public String getBookEndTime() {
        return bookEndTime;
    }

    public void setBookEndTime(String bookEndTime) {
        this.bookEndTime = bookEndTime;
    }

    public String getOtherFacilities() {
        return otherFacilities;
    }

    public void setOtherFacilities(String otherFacilities) {
        this.otherFacilities = otherFacilities;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Space getSpace() {
        return space;
    }

    public void setSpace(Space space) {
        this.space = space;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public User getCreateUser() {
        return createUser;
    }

    public void setCreateUser(User createUser) {
        this.createUser = createUser;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public User getLastModifyUser() {
        return lastModifyUser;
    }

    public void setLastModifyUser(User lastModifyUser) {
        this.lastModifyUser = lastModifyUser;
    }

    public String getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(String priceUnit) {
        this.priceUnit = priceUnit;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

}
